package com.rzjm.api.dao;

import com.rzjm.api.entity.ChargerOrder;
import org.apache.ibatis.annotations.Param;

/**
 * 订单Mapper接口
 *
 * @author ruoyi
 * @date 2022-05-07
 */
public interface ChargerOrderMapper extends BaseDao<ChargerOrder> {

    /**
     *  判断表名是否存在
     * @param tableName
     * @return
     */
    int isTableExist(@Param("tableName") String tableName);

    /**
     *  添加表
     * @param tableName
     * @return
     */
    int createOrderTable(@Param("tableName") String tableName);
}
